package com.crowdfunding.service.impl;

import com.crowdfunding.bean.Cert;
import com.crowdfunding.bean.Member;
import com.crowdfunding.dao.CertMapper;
import com.crowdfunding.service.CertService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CertServiceImpl implements CertService {
    @Autowired
    private CertMapper certMapper;



    @Override
    public List<Cert> quertAllCert() {
        return certMapper.selectAll();
    }

    @Override
    public List<Cert> queryCertByAccttype(String accttype) {
        return certMapper.queryCertByAccttype(accttype);
    }


}
